
/* <<< COPYRIGHT START >>>
 * Copyright 2006-Present OxygenSoftwareLibrary.com
 * Licensed under the GNU Lesser General Public License.
 * http://www.gnu.org/licenses/lgpl.html
 * 
 * @author: Ugorji Dick-Nwoke
 * <<< COPYRIGHT END >>>
 */


package oxygen.util;

import org.apache.lucene.store.FSDirectory;


public class DisableLuceneLockingPlugin implements Plugin {
  public void init() throws Exception { }
  public void start() throws Exception { 
    FSDirectory.setDisableLocks(true);
  }
  public void close() { }
}
